package com.czq.gulimail.gulimailproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czq.common.utils.PageUtils;
import com.czq.gulimail.gulimailproduct.entity.AttrEntity;
import com.czq.gulimail.gulimailproduct.entity.AttrGroupEntity;
import com.czq.gulimail.gulimailproduct.vo.AttrGroupRelationVO;
import com.czq.gulimail.gulimailproduct.vo.resp.AttrGroupWithAttrsResp;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author czq
 * @email 1807099124@qq.com
 * @date 2024-09-23 19:03:06
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params, Long catelog_id);

    List<AttrEntity> getAttrRelation(Long attrGroupId);



    void deleteRelation(List<AttrGroupRelationVO> voList);

    List<AttrEntity> getAttrNotRelation(Long catlogId);

    void saveRelation(List<AttrGroupRelationVO> vos, Long attrGroupId);

    List<AttrGroupWithAttrsResp> withattr(Long catelogId);
}

